package com.zkj.service;

import com.zkj.dto.EmployeeDTO;
import com.zkj.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zkj.result.Result;

/**
 * <p>
 * 员工信息 服务类
 * </p>
 *
 * @author zkj
 * @since 2024-08-22
 */
public interface IEmployeeService extends IService<Employee> {
    Result addEmployee(EmployeeDTO employeeDTO);

    // 员工登录
    Employee login(EmployeeDTO employeeDTO);

    // 分页查询员工列表
    Result page(Integer pageNum, Integer pageSize, String name);

    // 修改员工状态 启用/禁用
    Result setEmployeeStatus(Long id, Integer statusNum);

    // 修改员工信息
    Result updateUserInfo(EmployeeDTO employeeDTO);
}
